import request from '@/utils/request';

export async function getMRPModuleByPage(params: any) {
  return request('/api/drivepara/getMRPModuleByPage', {
    method: 'POST',
    data: params,
  });
}

export async function addMRPModule(params: any) {
  return request('/api/drivepara/addMRPModule', {
    method: 'POST',
    data: params,
  });
}

export async function updateMRPModule(params: any) {
  return request('/api/drivepara/updateMRPModule', {
    method: 'POST',
    data: params,
  });
}

export async function delMRPModule(params: any) {
  return request('/api/drivepara/delMRPModule', {
    method: 'POST',
    data: params,
  });
}

/**
 *
 * @param params
 * @returns
 */


export async function getMRPModuleList(params: any) {
  return request('/api/drivepara/getMRPModuleList', {
    method: 'POST',
    data: params,
  });
}

